%\documentclass[a4paper,12pt]{book}
\documentclass[oldfontcommands]{memoir}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}

\include{bluebox}
\usepackage[utf8x]{inputenc}
%\usepackage[T1]{fontenc}
\usepackage{memhfixc}
\usepackage{hyperref}
\usepackage{url}
\usepackage{listings}
\usepackage{geometry}
\usepackage[labelfont={bf}, margin=1cm]{caption}
\usepackage{textcomp}
\usepackage{upquote}
\usepackage{multicol}
\usepackage{lscape}
\usepackage{listings}
%\usepackage{ucs}
%\usepackage{footmisc}
\usepackage[super,biblabel]{cite}

\makeatletter
\renewcommand\@biblabel[1]{#1.}
\makeatother


%\usepackage[dvipsnames]{color}

\let\footruleskip\relax % for compatibility of memoir and fancyhdr
\let\rm\rmfamily 
\usepackage{fancyhdr} 
\pagestyle{fancy}
\usepackage{arabtex}
%\usepackage{alqalam}
\include{pygments}
\usepackage{xcolor}
\usepackage{graphicx}

\usepackage[bahasam]{babel}
\renewcommand{\figurename}{Rajah}

\usepackage{nomencl}
\makenomenclature

\usepackage{makeidx}
\makeindex
\lstset{basicstyle=\ttfamily,frame=shadowbox}

%\chapterstyle{bianchi}

%\fancyhead[LE,RO]{\thepage}
\fancyhead[LO]{\bfseries\leftmark}
%\fancyhead[RE]{\thetitle}
\fancyhead[LE,RO]{\bfseries\thetitle}

\lstset{upquote,columns=fullflexible}

\begin{document}
\renewcommand{\figurename}{Rajah}
\renewcommand{\listfigurename}{Senarai Rajah}
\renewcommand{\nomname}{Ringkasan yang Digunakan}
\renewcommand{\bibname}{Rujukan}
\newcommand{\latex}{\LaTeX}


\title{Pengenalan kepada \LaTeX}
\author{Muhammad Najmi bin Ahmad Zabidi}
\date{}
\frontmatter
\tableofcontents
\newpage
\listoffigures
\include{preface}
\include{penafian}
\mainmatter
\include{intro}
\include{chap1}
\include{chap2}
\include{chap3}
\include{chap4}
\include{chap5}
\include{chap9}
\backmatter
\bibliographystyle{is-plain}
\bibliography{bib-buku.bib}

\include{ringkasan}
\include{index}

%\include{quran}
%\include{bcover}

\end{document}

